local skel = fk.CreateSkill {
  name = "emo__dianqu",
  tags = {Skill.Compulsory},
}

Fk:loadTranslationTable{
  ["emo__dianqu"] = "电驱",
  [":emo__dianqu"] = "锁定技，你的【闪】和普【杀】视为雷【杀】，【桃】和【无懈可击】视为【铁索连环】。",
}

skel:addEffect("filter", {
  anim_type = "offensive",
  card_filter = function (self, card, player)
    return player:hasSkill(skel.name) and table.contains(player.player_cards[Player.Hand], card.id)
    and table.contains({"jink", "peach", "nullification", "slash"}, card.name)
  end,
  view_as = function(self, _, card)
    local c = Fk:cloneCard((card.name == "jink" or card.name == "slash") and "thunder__slash" or "iron_chain", card.suit, card.number)
    c.skillName = skel.name
    return c
  end,
})

return skel
